package com.smm.web.vmc.util;

import com.smm.web.vmc.domain.User;

import java.util.List;

/**
 *
 * app消息推送工具
 */
public interface PushUtilImpl {


    /**
     * 发送给所有用户
     * @param title
     * @param content
     * @throws Exception
     */
    void sendAll(String title,String content) throws Exception;


    /**
     * 推送信息给指定用户
     * @param title
     * @param content
     * @param user
     * @throws Exception
     */
    void sendByUser(String title,String content,User user) throws Exception;


    /**
     * 批量发送
     * @param title
     * @param content
     * @param userList
     * @throws Exception
     */
    void sendByUserList(String title,String content,List<User> userList) throws Exception;




}
